package com.mervyn.observer;

public class Test {

    public static void main(String[] args) {
        final Subject subject = new Subject();
        subject.registe(new AObserver());
        subject.registe(new BObserver());
        subject.registe(new CObserver());
        subject.registe(new AObserver());
        subject.changeState();
    }

}
